/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ep.libs.implementations;

import com.vaadin.ui.ComponentContainer;
import ep.libs.interfaces.IModule;

/**
 *
 * @author Spyros
 */
public abstract class AbstractModule implements IModule{
    
    private AbstractApplication application;
    protected Object[] args;

    public AbstractModule(AbstractApplication application) {
        this(application, null);
    }

    public AbstractModule(AbstractApplication application, Object[] args) {
        this.application = application;
        this.args = args;
    }

    @Override
    public AbstractApplication getApplication() {
        return application;
    }

    @Override
    public abstract ComponentContainer getModule();

}
